
#pragma once

#include <json/json.h>

namespace ConnectionBroker
{
   class Packet
   {
      protected: //Member variables
      Json::Value mMessage;
      uint32_t mChannel;

      public: //Constructors, destructor
      Packet(uint32_t pChannel, const Json::Value& pMessage);
      ~Packet();

      public: //Getters
      const uint32_t          channel() const { return mChannel; }
      const Json::Value&      message() const { return mMessage; }
   };
}

